package com.ruoyi.module.studyCenter.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 学习中心对象 study_center
 * 
 * @author yqq
 * @date 2024-04-19
 */
public class StudyCenter extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long studyId;

    /** 学习名称 */
    @Excel(name = "学习名称")
    private String studyName;

    /** 学习描述 */
    @Excel(name = "学习描述")
    private String studyDetail;

    /** 学习关键字 */
    @Excel(name = "学习关键字")
    private String studyKey;

    /** 学习图片 */
    @Excel(name = "学习图片")
    private String studyImage;

    /** 备用字段1 */
    @Excel(name = "备用字段1")
    private String studyExtra1;

    /** 备用字段2 */
    @Excel(name = "备用字段2")
    private String studyExtra2;

    /** 删除标志 */
    private String delFlag;

    /** 作者id */
    @Excel(name = "作者id")
    private Long authorId;

    /** 作者名称 */
    @Excel(name = "作者名称")
    private String authorName;

    /** 评论数 */
    @Excel(name = "评论数")
    private Long commentNum;

    public void setStudyId(Long studyId)
    {
        this.studyId = studyId;
    }

    public Long getStudyId()
    {
        return studyId;
    }
    public void setStudyName(String studyName)
    {
        this.studyName = studyName;
    }

    public String getStudyName()
    {
        return studyName;
    }
    public void setStudyDetail(String studyDetail)
    {
        this.studyDetail = studyDetail;
    }

    public String getStudyDetail()
    {
        return studyDetail;
    }
    public void setStudyKey(String studyKey)
    {
        this.studyKey = studyKey;
    }

    public String getStudyKey()
    {
        return studyKey;
    }
    public void setStudyImage(String studyImage)
    {
        this.studyImage = studyImage;
    }

    public String getStudyImage()
    {
        return studyImage;
    }
    public void setStudyExtra1(String studyExtra1)
    {
        this.studyExtra1 = studyExtra1;
    }

    public String getStudyExtra1()
    {
        return studyExtra1;
    }
    public void setStudyExtra2(String studyExtra2)
    {
        this.studyExtra2 = studyExtra2;
    }

    public String getStudyExtra2()
    {
        return studyExtra2;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }
    public void setAuthorId(Long authorId)
    {
        this.authorId = authorId;
    }

    public Long getAuthorId()
    {
        return authorId;
    }
    public void setAuthorName(String authorName)
    {
        this.authorName = authorName;
    }

    public String getAuthorName()
    {
        return authorName;
    }
    public void setCommentNum(Long commentNum)
    {
        this.commentNum = commentNum;
    }

    public Long getCommentNum()
    {
        return commentNum;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("studyId", getStudyId())
                .append("studyName", getStudyName())
                .append("studyDetail", getStudyDetail())
                .append("studyKey", getStudyKey())
                .append("studyImage", getStudyImage())
                .append("studyExtra1", getStudyExtra1())
                .append("studyExtra2", getStudyExtra2())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("delFlag", getDelFlag())
                .append("authorId", getAuthorId())
                .append("authorName", getAuthorName())
                .append("commentNum", getCommentNum())
                .toString();
    }
}
